#include <iostream>
#include <bits/stdc++.h>

using namespace std;

void solve() {
    int n;
    cin >> n;
    vector<int> arr(n + 2);
    for (int i = 1; i <= n; i++) {
        cin >> arr[i];
    }
    vector<int> dp(n + 1);
    int base = arr[0];
    for (int i = 1; i <= n; i++) {
        int count = 0;
        for (int j = 1; j <= n; j++) {
            if (arr[j] < )
        }
    }


}

int main() {

    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);

    int t;
    cin >> t;
    while (t--) {
        solve();
    }
    return 0;
}
